package com.kang.service.serviceImpl;

import com.kang.mapper.OrderMainMapper;
import com.kang.pojo.OrderMain;
import com.kang.service.OrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author 吃三明治派对中的康康
 * @Date 2022/5/4 19:47
 * @Version 1.0
 */
@Service
public class OrderServiceImpl implements OrderService {

    @Autowired
    OrderMainMapper orderMainMapper;

    @Override
    public List<OrderMain> searchAllOrder() {
        return orderMainMapper.selectAllOrder();
    }
}
